<template>
    <van-contact-card type="edit" :tel="tel" :name="name" @click="onEdit" />
    
</template>

<script setup lang="ts">
import { ref } from 'vue';
import {useRouter } from 'vue-router';
const router = useRouter()
const tel = ref('13000000000');
const name = ref('张三');
const onEdit = () => {
    router.push(`/contactList`)
};
</script>

<style scoped>

</style>